package com.jzkj.zsqxkq.controller;

import com.jzkj.zsqxkq.entity.TblMoniSiteInfo;
import com.jzkj.zsqxkq.service.ITblMoniSiteInfoService;
import org.springframework.stereotype.Controller;
import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.annotation.Resource;

/**
 * @Package: com.jzkj.zsqxkq.controller
 * @ClassName: RuoterController
 * @Author: 周毅
 * @CreateTime: 2020/7/6
 * @Description:
 */
@Controller
public class RuoterController {

    @Resource
    private ITblMoniSiteInfoService moniSiteInfoService;

    @RequestMapping(value = "/")
    public String index() {
        return "/index";
    }


    @GetMapping(value = "/jump/{template}")
    public String jump(@PathVariable("template") String jumpPage) {
        return jumpPage;
    }



}
